package com.xuanyuan.service;


import com.xuanyuan.domain.AjaxResult;
import com.xuanyuan.entity.File;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface FileService {
    void downloadFile(String fileName, HttpServletResponse response);

    File selectFileByName(String fileName);

    File selectFileById(String id);

    List<File> selectFileList(File file);

    AjaxResult insertFile(File file);

    AjaxResult updateFile(File file);

    Integer deleteFileByIds(String[] ids);
}
